﻿using Terraria;
using Terraria.Enums;
using Terraria.ID;
using Terraria.ModLoader;

namespace HardcoreGame.Content.Items.Weapons.Summon.Whips
{
    public class ShellstarWhip : ModItem
    {
        public override void SetDefaults()
        {
            Item.DefaultToWhip(ModContent.ProjectileType<Projectiles.Whips.ShellstarWhip>(), 62, 2f, 4f, 28);
            Item.SetShopValues(ItemRarityColor.Pink5, Item.sellPrice(0, 6, 60));
        }
        public override bool MeleePrefix()
        {
            return true;
        }
        public override void AddRecipes()
        {
            CreateRecipe()
               .AddIngredient(ItemID.Seashell, 15)
               .AddIngredient(ItemID.Starfish, 15)
               .AddCondition(Condition.DownedMechBossAll)
               .AddTile(TileID.MythrilAnvil)
               .Register();
        }
    }
}
